
using System;
using System.Collections.Generic;

using Grr.Web;
using Grr.Models;

using Castle.MonoRail.Framework;
using Castle.MonoRail.Framework.Views.Aspx;

public partial class Views_Grurrah_changepassword : GrurrahViewPage {

    protected override string TabName
    {
        get { return "home"; }
    }

    protected override void SetProperties ()
    {
        Person = (string) PropertyBag["Person"];
    }

    public string Person
    {
        get {
            object o = ViewState["Person"];
            if (o == null)
                return String.Empty;
            return (string)o;
        }
        set
        {
            ViewState["Person"] = value;
        }
    }
    protected void ChangePassword_ChangedPassword(object sender, EventArgs e)
    {
        Console.WriteLine("Changed password");
    }

    protected void ChangePassword_ChangePasswordError(object sender, EventArgs e)
    {
        Console.WriteLine("Change password error");
    }
}
